package com.chijun.mform.create.mode;

import com.chijun.mform.FormBuilder;
import com.example.ccj.u.sqlite.TableName;

/**
 * 审批人节点对表单内字段的权限
 * @author 驰珺
 * whechat   : chijun9
 * create at : 2024/11/17 19:41
 */
@TableName(FormBuilder.TABLE_FORM_APPROVE_PROCESS_TO_FIELD_PERMISSION_NAME)
public class FormProcessToFieldPermission {
    public FormProcessToFieldPermission(){}

    public FormProcessToFieldPermission(long processId,long fieldId,int permission){
        this.processId = processId;
        this.fieldId = fieldId;
        this.permission = permission;
    }

    //审批节点id
    public long processId;
    //字段id
    public long fieldId;
    //权限 0：只读 1：可编辑 2：对该审批节点隐藏
    public int permission;
}
